home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11671 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news.uni-stuttgart.de!news
  2. From: Markus Heller <Markus.Heller@studbox.uni-stuttgart.de>
  3. Newsgroups: comp.lang.c
  4. Subject: Debugging .. howto ?
  5. Date: Mon, 25 Mar 1996 20:02:43 +0100
  6. Organization: Comp.Center (RUS), U of Stuttgart, FRG
  7. Message-ID: <3156EDD3.5A37AB5D@studbox.uni-stuttgart.de>
  8. NNTP-Posting-Host: rusxppp135.rus.uni-stuttgart.de
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b4CALDERA (X11; I; Linux 1.2.13 i486)
  13.  
  14. Hi all,
  15.  
  16. I have a some c code, it uses Metro's OpenGL and the glut-3.0
  17. toolkit from Mark Kilgard. The program reads some data from
  18. a file and draws the data. The program seg faults while
  19. creating display lists. 
  20. To debug it, I run it under control of gdb - the program did
  21. not seg fault under gdb control !
  22. My system is a linux elf system, kernel 1.2.13, with
  23. gcc-2.7.2l0, libc-5.2.18, binutils-2.6.0.10. 
  24. I tested my program on a FreeBSD system with Xinsides OpenGL
  25. as well - it runs fine there, no problems.
  26.  
  27. To me it seems as if there's either something wrong with the
  28. gcc/libc under linux or Metro's OpenGL or my code. From the 
  29. above mentioned behaviour on the diffrent systems I guess
  30. it is not  a bug in my program. 
  31.  
  32. But how could I find it out ?  What methods / tools should
  33. I use (and how?) ?
  34.  
  35. Markus
  36.